<a type="button" class="btn btn-default"
     data-icon="cloud-upload"
     data-toggle="dialog"
     data-width="600"
     data-id="upload-dialog"
     data-mask="true"
     data-target="#upload-dialog-target" data-title="请选择你要上传的文件">
     上传文件
</a>
<div id="upload-dialog-target" data-noinit="true" class="hide">
    <div class="bjui-pageContent">
        <a data-toggle="upload" data-uploader="/filemanager/upload.ajax?path=${relativePath}"
            data-file-size-limit="1024000000"
            data-file-obj-name="uploadFileData"
            data-file-type-exts="${fileTypeExts}"
            data-auto="true"
            data-multi="true"
            data-drag-drop="true"
            data-preview-img="false"
            data-button-text="请选择你要上传的文件,可多选,可拖拽"
            data-on-upload-success="on_upload_success"
            data-icon="cloud-upload"></a>
    </div>
</div>